Ext.define('Mis.view.mainframe.Menu',{ 
    extend: 'Ext.tree.Panel',
    alias:'widget.smsmenu',
    requires:['Mis.store.mainframe.MainFrameStore'],
    initComponent : function(){ 
        Ext.apply(this,{ 
            id: 'menu-panel', 
            title: '系统菜单', 
            iconCls:'application_view_listIcon', 
			margins: '0 0 1 3',
            region:'west', 
            //border : false, 
            enableDD : false, 
            split: true, 
            width : 212, 
            minSize : 130, 
            maxSize : 300, 
            rootVisible: false, 
            containerScroll : true, 
            collapsible : true, 
            autoScroll: false,
//            store:Ext.create('Mis.store.mainframe.MainFrameStore')
            store:Ext.create('Ext.data.TreeStore', {
			    root: menuJson
            })
        });
        this.callParent(arguments); 
    } 
})